package com.jie.component.exception.enums;

import lombok.Getter;

/**
 * @author jie
 * @version 1.0 2025-02-16
 */
@Getter
public enum AuthenticationError {
    TOKEN_ERROR("token错误", 401),
    UN_LOGIN_ERROR("未登录", 401),
    LOGIN_EXPIRE("登录过期", 401);

    private final String msg;

    private final Integer code;

    AuthenticationError(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }
}
